Learn to Code HTML and CSS: Develop and Style Websites (Voices That Matter) by Shay Howe

Learn to Code HTML and CSS: Develop and Style Websites (Voices That Matter) by Shay Howe

Author:Shay Howe [Howe, Shay]
Language: eng
Format: epub, mobi
Publisher: Pearson Education
Published: 2014-04-22T00:00:00+00:00


Please take note that there is both a relative value and an absolute value within the background-position value. The first value, 20 pixels, is the horizontal value, positioning the background-image 20 pixels from the left of the element. The second value, 50%, is the vertical value, which vertically centers the background-image.

A few other properties and values are also included within the alert-success class rule set to further style the alert message (see Figure 7.2).

Figure 7.2 A success alert message including a background color and image



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.